package com.ruoyi.equip.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2024-07-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tag_data")
@ApiModel(value="TagData对象", description="")
public class TagData extends Model<TagData> {

    private static final long serialVersionUID = 1L;

    @TableId("tag_id")
    private String tagId;

    @TableField("data")
    private Double data;

    @TableField("report_time")
    private Long reportTime;

    @Override
    protected Serializable pkVal() {
        return this.tagId;
    }

}
